#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTime>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_pushSetTop_clicked();

    void on_pushClear_clicked();

    void on_pushCheck_clicked();

    void on_pushLast_clicked();

    void on_pushNext_clicked();

private:
    Ui::MainWindow *ui;
    bool _bTop;
    int _iCheckPos;
    QList<QString> _history;
    int _iShowItem;
    QTime _lastCheckTime;
};

#endif // MAINWINDOW_H
